package com.usian.search.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.search.ApUserSearch;
import com.usian.model.search.UserSearchDto;

/**
 * ClassName: ApUserSearchService
 * Author:   WGG
 * Date:    2022-12-2022/12/10-16:32
 * Version: 1.0
 * Description:
 */
public interface ApUserSearchService extends IService<ApUserSearch> {

    /**
     * 添加app用户搜索信息表
     * @return
     */
    void saveApUserSearch(Integer id,String words);


    /**
     * 搜索记录全查
     * @return
     */
    ResponseResult findApUserSearch(UserSearchDto dto);

    /**
     * 搜索记录删除
     * @return
     */
    ResponseResult updateStatus(Integer id);
}
